{:W('Nav',array('name'=>'添加管理员'))}
<div class="main-div">
    <form action="runAddUser" method="post" name="theForm" enctype="multipart/form-data">
        <table width="100%" id="general-table">
            <tr>
                <td class="label">管理员名称:</td>
                <td>
                    <if condition="$userInfo.id ">
                        <input type="hidden" name="id" value="{$userInfo.id}" >
                    </if>
                    <input type='text' name='username' maxlength="20" value='{$userInfo.username}' size='27'/> <font color="red">*</font>
                </td>
            </tr>
            <tr>
                <td class="label">密码:</td>
                <td>
                    <input type='text' name='password' maxlength="20" value='' size='27'/> <font color="red">*</font>
                </td>
            </tr>
            <tr>
                <td class="label">是否开启:</td>
                <td>
                    <if condition="$userInfo.status ">
                        <input type="radio" name="status" value="1" checked>是
                        <input type="radio" name="status" value="0" >否
                        <else/>
                        <input type="radio" name="status" value="1" >是
                        <input type="radio" name="status" value="0" checked>否
                    </if>

                </td>
            </tr>
        </table>
        <div class="button-div">
            <input type="submit" value=" 确定 "/>
            <input type="reset" value=" 重置 "/>
        </div>
    </form>
</div>
</body>
</html>